package fr.upmc.alasca.centreCalcul.externe.generateurDemandes.ports;

import fr.upmc.alasca.centreCalcul.externe.generateurDemandes.GenerateurDemandes;
import fr.upmc.alasca.centreCalcul.externe.generateurDemandes.interfaces.GenerateurDemandesI;
import fr.upmc.components.ComponentI;
import fr.upmc.components.ports.AbstractInboundPort;


/**
 * @author Antoine Lavaire, Sabri Labassi, Thibaut Fleury, Ryme Fantazi
 */
public	class	GenerateurDemandesInboundPort
extends			AbstractInboundPort
implements		GenerateurDemandesI
{
	private static final long serialVersionUID = 1L;


	public	GenerateurDemandesInboundPort
	(
		String		p_uri,
		ComponentI	p_owner
	) throws	Exception
	{
		super(p_uri, GenerateurDemandesI.class, p_owner);
		
		assert this.uri != null && this.owner instanceof GenerateurDemandes;
	}


	@Override
	public	void	arreterApplication
	(
		String	p_uriApplication
	) throws	Exception {
		((GenerateurDemandesI) this.owner).arreterApplication(p_uriApplication);
	}
}
